package hcn.mch.response;

import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * 获取孕产妇访视名单
 **/
@ToString
@XmlRootElement(name = "Data")
public class QueryChildrenListFromMcsVO {

    private List<VisitInfo> records;

    @XmlElementWrapper(name = "Records")
    @XmlElement(name = "Record")
    public List<VisitInfo> getRecords() {
        return records;
    }

    public void setRecords(List<VisitInfo> records) {
        this.records = records;
    }

    @ToString
    public static class VisitInfo {

        /**
         * 姓名
         */
        private String name;
        /**
         * 出生日期
         */
        private String birthDate;
        /**
         * 母亲姓名
         */
        private String motherName;
        /**
         * 母亲联系电话
         */
        private String motherPhone;
        /**
         * 父亲姓名
         */
        private String fatherName;
        /**
         * 父亲联系电话
         */
        private String fatherPhone;

        /**
         * 儿童档案id
         */
        private String childId;


        /**
         * 出生体重
         */
        private String weight;


        /**
         * 分娩医院代码
         */
        private String orgId;


        /**
         * 分娩医院名称
         */
        private String orgName;

        @XmlElement(name = "Name")
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @XmlElement(name = "BirthDate")
        public String getBirthDate() {
            return birthDate;
        }

        public void setBirthDate(String birthDate) {
            this.birthDate = birthDate;
        }

        @XmlElement(name = "MotherName")
        public String getMotherName() {
            return motherName;
        }

        public void setMotherName(String motherName) {
            this.motherName = motherName;
        }

        @XmlElement(name = "MotherPhone")
        public String getMotherPhone() {
            return motherPhone;
        }

        public void setMotherPhone(String motherPhone) {
            this.motherPhone = motherPhone;
        }

        @XmlElement(name = "FatherName")
        public String getFatherName() {
            return fatherName;
        }

        public void setFatherName(String fatherName) {
            this.fatherName = fatherName;
        }

        @XmlElement(name = "FatherPhone")
        public String getFatherPhone() {
            return fatherPhone;
        }

        public void setFatherPhone(String fatherPhone) {
            this.fatherPhone = fatherPhone;
        }

        @XmlElement(name = "ChildId")
        public String getChildId() {
            return childId;
        }

        public void setChildId(String childId) {
            this.childId = childId;
        }

        @XmlElement(name = "Weight")
        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        @XmlElement(name = "VisitOrganization")
        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getOrgName() {
            return orgName;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }
    }


}
